import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'

// 引入全局TuniaoUI
import TuniaoUI from '@/static/tuniao-ui'
Vue.use(TuniaoUI)

// 引入TuniaoUI提供的vuex简写方法
import vuexStore from '@/store/tn.mixin.js'
Vue.mixin(vuexStore)

// 导入自定义封装类
import fly from './utils/request'
import store from './store'
Vue.prototype.$fly = fly
Vue.prototype.$store = store

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App
})
app.$mount()
